package com.cy.aircompressor.api;

import com.cy.aircompressor.entity.select.SelectDict;
import com.net.model.bean.BaseResponse;

import java.util.List;

import io.reactivex.Flowable;
import retrofit2.http.GET;

//相关字典
public interface SelectApi {

    /**
     * 空压机部位
     *
     * @return Flowable
     */
    @GET("select/compressorPart")
    Flowable<BaseResponse<List<SelectDict>>> compressorPart();

    /**
     * 空压机点位
     *
     * @return Flowable
     */
    @GET("select/compressorPoint")
    Flowable<BaseResponse<List<SelectDict>>> compressorPoint();

    /**
     * 空压机
     *
     * @return Flowable
     */
    @GET("select/compressor")
    Flowable<BaseResponse<List<SelectDict>>> compressor();

    /**
     * 采集器通道
     *
     * @return Flowable
     */
    @GET("select/collectorChannel")
    Flowable<BaseResponse<List<SelectDict>>> collectorChannel();

    /**
     * 电站
     *
     * @return Flowable
     */
    @GET("select/powerStation")
    Flowable<BaseResponse<List<SelectDict>>> powerStation();

    /**
     * 传感器量程
     *
     * @return Flowable
     */
    @GET("select/sensorRange")
    Flowable<BaseResponse<List<SelectDict>>> sensorRange();

    /**
     * 传感器类型
     *
     * @return Flowable
     */
    @GET("select/sensorType")
    Flowable<BaseResponse<List<SelectDict>>> sensorType();


}
